﻿using SheepStorage.Domain.DTO.Output;
using SheepStorage.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepStorage.Service.Interface
{
    public interface IYourTableNameService
    {
        /// <summary>
        /// 显示
        /// </summary>
        /// <param name="OverBit"></param>
        /// <param name="DawningsheepType"></param>
        /// <param name="index"></param>
        /// <param name="size"></param>
        /// <returns></returns>
        Task<PageOutput<DawningSheepDto>> GetYourTableNames(string? OverBit, int DawningsheepType, int index, int size);
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        Task<int> AddYourTableNames(List<YourTableName> YourTableName);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="m"></param>
        /// <returns></returns>
        Task<int> UpdateYourTableNames(YourTableName m);
        /// <summary>
        /// 反填
        /// </summary>
        /// <param name="OverBit"></param>
        /// <returns></returns>

        YourTableName backfillYourTableNames(int DawningsheepId);
        /// <summary>
        /// 单删/批量删除
        /// </summary>
        /// <param name="Idlist"></param>
        /// <returns></returns>
        Task<int> DeltetYourTableName(string Idlist);
        /// <summary>
        /// 单删/批量审核
        /// </summary>
        /// <param name="Idlist"></param>
        /// <returns></returns>
        Task<int> AuditYourTableName(string Idlist);
    }
}
